package com.etung.iot.demo.modles;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("iot_box")
public class BoxEntity {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private String imei;
    @TableField("box_name")
    private String boxName;
    private String model;
    private String firmware;
    @TableField("is_real")
    private boolean isReal;
    @TableField("project_id")
    private Long projectId;
}
